<?php
	if ($treeclass->browser_detection() != 1){
		$smarty->template_dir = $setupdata['smarty_admin_template_dir'];
		$smarty->display('admin/badie.tpl');
		$mysqlclass->close_db();
		include $setupdata['core_dir']."/includes/die.php";
	}
	
	if (!(function_exists('login_ex'))){
		if (!isset($_COOKIE['interface_lang'])) {
			setcookie("interface_lang", "lt", time()+9999999);
			$_COOKIE['interface_lang'] = "lt";
		}
		$smarty->template_dir = $setupdata['smarty_admin_template_dir'];
		$smarty->display('admin/login.tpl');
		$mysqlclass->close_db();
		include $setupdata['core_dir']."/includes/die.php";
	}
?>